package com.ming.javaweb.service;

import com.ming.javaweb.beans.DTO.StudentDTO;
import com.ming.javaweb.beans.VO.StudentVO;
import com.ming.javaweb.beans.VO.TableVO;
import com.ming.javaweb.beans.entity.StudentDO;

import java.sql.SQLException;

public interface StudentService {
    Boolean addStudent(StudentDO studentDO) throws SQLException;

    TableVO<StudentVO> queryStudentByPage(StudentDTO studentDTO) throws SQLException;


    StudentVO getStudentBYId(int parseInt) throws SQLException;

    Boolean updateStudent(StudentDO studentDO) throws SQLException;

    Boolean deleteById(int deleteId) throws SQLException;
}
